package com.cloudbroker.bcs.platform.ltb.middle.service.impl;

import com.cloudbroker.bcs.common.dao.base.DAOBase;
import com.cloudbroker.bcs.platform.ltb.middle.dao.operaManager.HomeComuserbRecManaDAO;
import com.cloudbroker.bcs.platform.ltb.middle.entity.OperaManage.HomeComuserRecManaEntity;
import com.cloudbroker.bcs.platform.ltb.middle.service.HomeComuserRecManaService;
import com.cloudbroker.bcs.platform.ltb.middle.service.base.TenantServiceImplBase;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by fangyf18371 on 2016/12/7.
 * 首页推荐投顾管理
 */
@Service
public class HomeComuserRecManaServiceImpl extends TenantServiceImplBase<HomeComuserRecManaEntity,String> implements
        HomeComuserRecManaService {
    @Resource
    protected HomeComuserbRecManaDAO homeComuserbRecManaDAO;

    @Override
    protected DAOBase<HomeComuserRecManaEntity, String> getDAO() {
        return homeComuserbRecManaDAO;
    }

    @Override
    public int setHomeComuserRec(HomeComuserRecManaEntity entity) {
        return homeComuserbRecManaDAO.setHomeComuserRec(entity);
    }
}
